//
//  MBUserNetTool.m
//  MemberBusiness-ios
//
//  Created by cherry pu on 2018/4/23.
//  Copyright © 2018年 zhangXin. All rights reserved.
//

#import "MBUserNetTool.h"

@implementation MBUserNetTool

+(void)userNetToolLoginWithParam:(MBLoginParam*)param success:(MBResponseBlock)response failure:(MBRequestFailure)failure
{
    [[MBHTTPTool sharedInstance]POST:ACCOUNT_POST_USER_LOGIN params:param.yy_modelToJSONObject success:^(id jsonData) {
        response([[MBHTTPResponse alloc]initWithJsonData:jsonData]);
    } failure:^(NSError *error) {
        failure(error);
    }];
}

@end
